#
#
#
cmake_minimum_required(VERSION 2.8)

project(multer)
enable_testing()

set (GTEST_DIR gtest-dir-NOTFOUND CACHE PATH "GTEST sources location")

if(EXISTS "C:/Users/yyk/Documents/src/gtest-1.6.0")
	set (GTEST_DIR "C:/Users/yyk/Documents/src/gtest-1.6.0")
endif()

if(GTEST_DIR)
	include_directories(${GTEST_DIR}/include and ${GTEST_DIR})
	add_library(gtest STATIC ${GTEST_DIR}/src/gtest-all.cc ${GTEST_DIR}/src/gtest_main.cc)
else()
	message(WARNING "Define GTEST_DIR to enable unit tests")
endif()

include_directories(toolkit)
add_subdirectory(toolkit)
add_subdirectory(multer)
add_subdirectory(ompmulter)
add_subdirectory(cube_viewer)
add_subdirectory(how-to-emit-cross-thread-signal-in-qt)
add_subdirectory(how-to-hor-layout-in-qt)


